|
eeprom16 2.2.1
|
This file contains API for EEPROM 16 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | eeprom16_t |
| EEPROM 16 Click context object. More... | |
| struct | eeprom16_cfg_t |
| EEPROM 16 Click configuration object. More... | |
Enumerations | |
| enum | eeprom16_return_value_t { EEPROM16_OK = 0 , EEPROM16_ERROR = -1 } |
| EEPROM 16 Click return value data. More... | |
Functions | |
| void | eeprom16_cfg_setup (eeprom16_cfg_t *cfg) |
| EEPROM 16 configuration object setup function. | |
| err_t | eeprom16_init (eeprom16_t *ctx, eeprom16_cfg_t *cfg) |
| EEPROM 16 initialization function. | |
| err_t | eeprom16_default_cfg (eeprom16_t *ctx) |
| EEPROM 16 default configuration function. | |
| err_t | eeprom16_write_opcode (eeprom16_t *ctx, uint8_t opcode) |
| EEPROM 16 write opcode function. | |
| err_t | eeprom16_read_opcode (eeprom16_t *ctx, uint8_t opcode, uint8_t *data_out, uint8_t len) |
| EEPROM 16 read opcode function. | |
| void | eeprom16_set_wp_pin (eeprom16_t *ctx, uint8_t state) |
| EEPROM 16 set WP pin function. | |
| void | eeprom16_set_hold_pin (eeprom16_t *ctx, uint8_t state) |
| EEPROM 16 set HOLD pin function. | |
| err_t | eeprom16_enable_write (eeprom16_t *ctx) |
| EEPROM 16 enable write function. | |
| err_t | eeprom16_disable_write (eeprom16_t *ctx) |
| EEPROM 16 disable write function. | |
| err_t | eeprom16_set_block_protection (eeprom16_t *ctx, uint8_t block_protect) |
| EEPROM 16 set block protection function. | |
| err_t | eeprom16_write_status (eeprom16_t *ctx, uint8_t status) |
| EEPROM 16 write status function. | |
| err_t | eeprom16_read_status (eeprom16_t *ctx, uint8_t *status) |
| EEPROM 16 read status function. | |
| err_t | eeprom16_memory_write (eeprom16_t *ctx, uint16_t address, uint8_t *data_in, uint8_t len) |
| EEPROM 16 memory write function. | |
| err_t | eeprom16_memory_read (eeprom16_t *ctx, uint16_t address, uint8_t *data_out, uint16_t len) |
| EEPROM 16 memory read function. | |
This file contains API for EEPROM 16 Click Driver.